package com.slz3.business.module.configManagement.conZoneType.enums;

import lombok.AllArgsConstructor;

@AllArgsConstructor
public enum ConZoneTypePositionEnum {
    INDEX("首页"),
    ACTIVITY("活动"),
    ARTICLE("文章"),
    MINE("我的"),
    SHOPPING_BAG("购物袋"),
    ;
    private String nickname;

    public static boolean isIndex(ConZoneTypePositionEnum position) {
        return INDEX.equals(position);
    }

    public static boolean isActivity(ConZoneTypePositionEnum position) {
        return ACTIVITY.equals(position);
    }

    public static boolean isArticle(ConZoneTypePositionEnum position) {
        return ARTICLE.equals(position);
    }
}
